package edu.dali.enterprise_test.controller.error;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ErrorController {

    @RequestMapping("/500")
    public String page500() {
        return "error/500";
    }

    @RequestMapping("/400")
    public String page400() {
        return "error/400";
    }

    @RequestMapping("/404")
    public String page404() {
        return "error/404";
    }
}
